#pragma once


#include <iostream>
#include <vector>
#include <functional>

using func_t = std::function<void()>;

class Tool
{
public:
    Tool()
    {

    }
    void PushFunc(func_t f)
    {
        funcs.push_back(f);
    }
    void Execute()
    {
        for(auto &f : funcs)
        {
            f();
        }
    }
    ~Tool()
    {

    }
private:
    std::vector<func_t> funcs;

};
